package top.shiyiri.community.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * 私信
 * @author Aunean
 * @date 2022/3/16 9:47
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Message {

    private Integer id;
    private int fromId; //1-系统通知
    private int toId;
    private String conversationId;
    private String content;
    private Integer status;  //0-未读;1-已读;2-删除
    private Date createTime;
}
